package com.training.java.core.exception;

public class BankCustomer {
	
	public static void main(String[] args) {
		
		TransferService service = new TransferService();
		try {
			service.transfer(5000);
		} catch (InsufficientBalanceException e) {
			e.printStackTrace();
		}
		
		System.out.println("Checking account balance = " + service.getCheckingAccountBalance());
		System.out.println("Saving account balance = " + service.getSavingsAccountBalance());
	}

}
